package cn.huiyunche.base.service.interfaces;

import cn.huiyunche.base.service.model.SOrderStowage;

/**
 * @ClassName: SOrderStowage
 * @Description: 订单配置模型关联
 * @author: Aaron
 * @date: 2016年10月12日 下午2:51:33
 */
public interface SOrderStowageService {


    /**
     * @param customerOrderId 客户订单主键
     * @param stowageModelId  配置模型主键
     * @Title: add
     * @Description: 添加客户订单和配置模型关联
     * @return: Long
     */
    Long add(Long customerOrderId, Long stowageModelId);

    /**
     * @param customerOrderId 客户订单主键
     * @Title: getByCustomerOrderId
     * @Description: 根据客户订单主键查询
     * @return: SOrderStowage
     */
    SOrderStowage getByCustomerOrderId(Long customerOrderId);
}
